/*
 * Information agent: display an information to its receivers
 * 
 * can be used to inform a group of people the meeting date
 *or to inform a person that you will be late
 */
public class InfoAgent extends Agent {
       private String message; //a message
       private int Numreceivers;// number of receivers
   	   	private Vector addresses;   // store the receivers' numbers
    private int receiverIndex = -1; //use to keep track of receiver
	
    //constructor
    public InfoAgent(String m)
	{
	   message=m;	
	}
    //return the message
    public String getMessage()
	{
		
		return message;
	}
  //return the index of the current receiver (user)
    public int getReceiverIndex()
	{
		
		return receiverIndex;
	}
  //return the number of people the sender is hoping to send the agent to
    public int getNumReceivers()
	{
		return Numreceivers;
	}
  


	
}
